package com.example.junitforlab;

import org.junit.Test;

import static org.junit.Assert.*;

public class InputSpacePartition {
    trityp tri = new trityp();
    @Test
    public void triang() {
        assertEquals(1,tri.Triang(6,8,10));//1:scalene
        assertEquals(2,tri.Triang(2,3,2));//2:isosceles
        assertEquals(3,tri.Triang(3,3,3));//3:equilateral
        assertEquals(4,tri.Triang(2,5,2));//4:not a triangle
    }
}
